home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Time Traveler CD - A Mult…dia Chronicle of History
/
Time Traveler CD - A Multimedia Chronicle of History.iso
/
Time Traveler
/
Time Traveler.rsrc
/
bin.rsrc_CODE_6_NextLast.txt
< prev
next >
Wrap
Text File
|
1992-10-28
|
6KB
|
109 lines
# near model CODE resource
# jump table entries: 320-323 (4 of them)
export_40:
00000000 4240 clr.w D0
00000002 4E75 rts
fn00000004:
00000004 2F2D E61E move.l -[A7], [A5 - 0x19E2]
00000008 A9A2 syscall LoadResource
0000000A 206D E61E movea.l A0, [A5 - 0x19E2]
0000000E A029 syscall HLock
00000010 4EAD 02EA jsr [A5 + 0x2EA /* export_89 */]
00000014 206D E61E movea.l A0, [A5 - 0x19E2]
00000018 2B50 EF28 move.l [A5 - 0x10D8], [A0]
0000001C 206D EF28 movea.l A0, [A5 - 0x10D8]
00000020 3B50 EF24 move.w [A5 - 0x10DC], [A0]
00000024 3B7C 0001 EF2C move.w [A5 - 0x10D4], 0x1
label0000002A:
0000002A 206D EF28 movea.l A0, [A5 - 0x10D8]
0000002E 322D E636 move.w D1, [A5 - 0x19CA]
00000032 7000 moveq.l D0, 0x00
00000034 302D EF2C move.w D0, [A5 - 0x10D4]
00000038 5380 subq.l D0, 1
0000003A E780 asl D0, 3
0000003C 5480 addq.l D0, 2
0000003E B270 0802 cmp.w D1, [A0 + D0 + 0x2]
00000042 6F06 ble +0x8 /* 0000004A */
00000044 526D EF2C addq.w [A5 - 0x10D4], 1
00000048 60E0 bra -0x1E /* 0000002A */
label0000004A:
0000004A 3B6D EF2C EF26 move.w [A5 - 0x10DA], [A5 - 0x10D4]
00000050 206D E61E movea.l A0, [A5 - 0x19E2]
00000054 A02A syscall HUnlock
00000056 4EAD 02EA jsr [A5 + 0x2EA /* export_89 */]
0000005A 4E75 rts
fn0000005C:
0000005C 2F2D E61E move.l -[A7], [A5 - 0x19E2]
00000060 A9A2 syscall LoadResource
00000062 206D E61E movea.l A0, [A5 - 0x19E2]
00000066 A029 syscall HLock
00000068 4EAD 02EA jsr [A5 + 0x2EA /* export_89 */]
0000006C 206D E61E movea.l A0, [A5 - 0x19E2]
00000070 2050 movea.l A0, [A0]
00000072 7000 moveq.l D0, 0x00
00000074 302D EF26 move.w D0, [A5 - 0x10DA]
00000078 5380 subq.l D0, 1
0000007A E780 asl D0, 3
0000007C 5480 addq.l D0, 2
0000007E 3B70 0800 E636 move.w [A5 - 0x19CA], [A0 + D0]
00000084 206D E61E movea.l A0, [A5 - 0x19E2]
00000088 A02A syscall HUnlock
0000008A 4EAD 02EA jsr [A5 + 0x2EA /* export_89 */]
0000008E 302D E636 move.w D0, [A5 - 0x19CA]
00000092 0C40 0FA0 cmpi.w D0, 0xFA0
00000096 6C12 bge +0x14 /* 000000AA */
00000098 426D E632 clr.w [A5 - 0x19CE]
0000009C 303C 0FA0 move.w D0, 0xFA0
000000A0 906D E636 sub.w D0, [A5 - 0x19CA]
000000A4 3B40 E630 move.w [A5 - 0x19D0], D0
000000A8 600E bra +0x10 /* 000000B8 */
label000000AA:
000000AA 3B7C 0001 E632 move.w [A5 - 0x19CE], 0x1
000000B0 0440 0FA0 subi.w D0, 0xFA0
000000B4 3B40 E630 move.w [A5 - 0x19D0], D0
label000000B8:
000000B8 4EAD 014A jsr [A5 + 0x14A /* export_37 */]
000000BC 4E75 rts
export_41:
000000BE 4EBA FF44 jsr [PC - 0xBC /* 00000004 */]
000000C2 526D EF26 addq.w [A5 - 0x10DA], 1
000000C6 4EBA FF94 jsr [PC - 0x6C /* 0000005C */]
000000CA 4E75 rts
export_42:
000000CC 4EBA FF36 jsr [PC - 0xCA /* 00000004 */]
000000D0 536D EF26 subq.w [A5 - 0x10DA], 1
000000D4 4EBA FF86 jsr [PC - 0x7A /* 0000005C */]
000000D8 4E75 rts
export_43:
000000DA 4EBA FF28 jsr [PC - 0xD8 /* 00000004 */]
000000DE 42A7 clr.l -[A7]
000000E0 3F3C 0081 move.w -[A7], 0x81
000000E4 A949 syscall GetMenuHandle
000000E6 2B5F EF2E move.l [A5 - 0x10D2], [A7]+
000000EA 6740 beq +0x42 /* 0000012C */
000000EC 302D EF26 move.w D0, [A5 - 0x10DA]
000000F0 0C40 0001 cmpi.w D0, 0x1
000000F4 660C bne +0xE /* 00000102 */
000000F6 2F2D EF2E move.l -[A7], [A5 - 0x10D2]
000000FA 3F3C 0005 move.w -[A7], 0x5
000000FE A93A syscall DisableItem
00000100 600A bra +0xC /* 0000010C */
label00000102:
00000102 2F2D EF2E move.l -[A7], [A5 - 0x10D2]
00000106 3F3C 0005 move.w -[A7], 0x5
0000010A A939 syscall EnableItem
label0000010C:
0000010C 302D EF26 move.w D0, [A5 - 0x10DA]
00000110 B06D EF24 cmp.w D0, [A5 - 0x10DC]
00000114 660C bne +0xE /* 00000122 */
00000116 2F2D EF2E move.l -[A7], [A5 - 0x10D2]
0000011A 3F3C 0004 move.w -[A7], 0x4
0000011E A93A syscall DisableItem
00000120 600A bra +0xC /* 0000012C */
label00000122:
00000122 2F2D EF2E move.l -[A7], [A5 - 0x10D2]
00000126 3F3C 0004 move.w -[A7], 0x4
0000012A A939 syscall EnableItem
label0000012C:
0000012C 4E75 rts